home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Graphics Programming (2nd Edition)
/
Visual Basic Graphics Programming 2nd Edition.iso
/
Src
/
Ch17
/
HoleChck.ray
< prev
next >
Wrap
Text File
|
1999-07-10
|
813b
|
31 lines
Viewpoint(1000, 1.6, 0.3)
AmbientLight(128, 128, 128)
LightSource(0, -1000, 200, 255, 255, 255)
LightSource(0, 1000, 200, 255, 255, 255)
LightSource(0, -500, 400, 255, 0, 0)
HoledCheckerboard(
' The texture file name (absolute or relative)
C:\Writing\Books\VBGP2\New\Src\Ch17\vbhelper.bmp,
1, 1,
-80, -50, 100,
80, -50, 100,
-80, 50, 100,
1.0, ' Scale factor for ambient values
1.0, ' Scale factor for diffuse values
20, 0.35, ' Specular
0, 0, 0, ' Reflected
10, 1, 1, ' TransN, n1, n2
0, 0, 0 ' Transmitted
)
BumpySphere( 70, 0, 0, 0,
0.2, ' Bumpiness
0.2, 0.2, 0.7, ' Ambient
0.2, 0.2, 0.7, ' Ambient
20, 0.35, ' Specular
0, 0, 0, ' Reflected
10, 1, 1, ' TransN, n1, n2
0, 0, 0 ' Transmitted
)